package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.HotelDetail;
import cn.wolfcode.trip.base.mapper.HotelDetailMapper;
import cn.wolfcode.trip.base.service.IHotelDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HotelDetailServiceImpl implements IHotelDetailService {
    @Autowired
    private HotelDetailMapper hotelDetailMapper;

    @Override
    public HotelDetail get(Long id) {
        HotelDetail hotelDetail = hotelDetailMapper.selectByPrimaryKey(id);
        return hotelDetail;
    }
}
